Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Fleet] Throw when enabling TDSB on an incompatible datastream #148540

Closed

Conversation

nchaulet
Copy link
Member

@nchaulet nchaulet commented Jan 9, 2023

Summary

Related to #141211 (comment)

To enable TDSB we need to have at least one dimension field.
The previous code was silently failing when the stream was not containing any dimension fields, this is confusing as the user, will not know about it.

That PR change that to explicitly throw when no dimension fields are provided.

UI Changes

Screen Shot 2023-01-09 at 9 33 19 AM

cc @kpollich @ruflin

@nchaulet nchaulet added release_note:skip Skip the PR/issue when compiling release notes Team:Fleet Team label for Observability Data Collection Fleet team v8.7.0 labels Jan 9, 2023
@nchaulet nchaulet self-assigned this Jan 9, 2023
@nchaulet nchaulet requested a review from a team as a code owner January 9, 2023 13:43
@elasticmachine
Copy link
Contributor

Pinging @elastic/fleet (Team:Fleet)

@nchaulet
Copy link
Member Author

nchaulet commented Jan 9, 2023

@elasticmachine merge upstream

Copy link
Member

@kpollich kpollich left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wording fix in error message otherwise LGTM 🚀

Co-authored-by: Kyle Pollich <kpollich1@gmail.com>
@nchaulet nchaulet enabled auto-merge (squash) January 9, 2023 14:24
@nchaulet nchaulet disabled auto-merge January 9, 2023 15:12
@kibana-ci
Copy link
Collaborator

💚 Build Succeeded

Metrics [docs]

✅ unchanged

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

cc @nchaulet

@nchaulet
Copy link
Member Author

nchaulet commented Jan 9, 2023

Replaced by #148553

@nchaulet nchaulet closed this Jan 9, 2023
@nchaulet nchaulet deleted the feature-throw-tdsb-routing-path branch January 9, 2023 15:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release_note:skip Skip the PR/issue when compiling release notes Team:Fleet Team label for Observability Data Collection Fleet team v8.7.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants